package com.example.Laboratory.Service;

import com.example.Laboratory.Entity.Train;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface TrainService {
    //增加大创训练成果信息
    String addTrain(Train t);

    //根据id删除大创训练成果信息
    String deleteTrain(int train_id);

    //查找大创训练成果信息
    List<Train> researchTrain();

    //修改大创训练成果更新
    String reviseTrain(Train t);


}
